import React from 'react'
import PlayIcon from "../../../../../res/images/web/FootballGameCard/small-play-square.png"
import './PlayBtn.css'

const PlayBtn = props => {
    const {
        onClick,
    } = props

    const playBtn = (
        <div
            className='game-room-header-play-btn'
            onClick={onClick}
        >
            <div style={{marginRight: '4px',}}>
                <img src={PlayIcon} alt=''/>
            </div>
            <span className='game-room-header-play-btn-text'>
                视频直播
            </span>
        </div>
    )

    return playBtn
}

export default PlayBtn
